/* eslint-disable indent */
'use strict'

module.exports = {
    DesktopcfgCreate: {
        name: { type: 'string', required: true, description: '配置名称', example: '4K大屏' },
        pid: { type: 'number', required: true, description: '门店ID', example: 15421 },
        conf: { type: 'json', required: false, description: '配置信息', example: '{"width":1920,"height":1080, data: []}' },
        status: { type: 'number', required: false, description: '状态', example: 1 }
    },

    DesktopcfgEdit: {
        id: { type: 'number', required: true, description: '门店ID', example: 111 },
        name: { type: 'string', required: false, description: '配置名称', example: '4K大屏' },
        pid: { type: 'number', required: false, description: '门店ID', example: 15421 },
        conf: { type: 'json', required: false, description: '配置信息', example: '{"width":1920,"height":1080, data: []}' },
        status: { type: 'number', required: false, description: '状态', example: 1 }
    },

    DesktopcfgDelete: {
        id: { type: 'number', required: true, description: '门店ID', example: 111 }
    },

    DesktopcfgGet: {
        pid: { type: 'number', required: false, description: '门店ID', example: 15421 }
    },

    DesktopcfgSet: {
        id: { type: 'number', required: true, description: '门店ID', example: 111 },
        pid: { type: 'number', required: false, description: '门店ID', example: 15421 }
    },

    DesktopcfgList: {
        pid: { type: 'number', required: true, description: '门店ID', example: 15421 },
        name: { type: 'string', required: false, description: '配置名称', example: '4K大屏' },
        status: { type: 'number', required: false, description: '状态', example: 1 },
        pageIndex: { type: 'number', required: false, description: '页码', example: 1 },
        pageSize: { type: 'number', required: false, description: '每页数量', example: 10 }
    }


}
